package uk.ac.cam.echo.messages;

/**
 * @author Tom Smith
 */
public class LocationMessage extends Message {
	private static final long serialVersionUID = 1L;

	private final String m_LocationName;
	
	public LocationMessage(String rfid, String locationName) {
		super(rfid);
		this.m_LocationName = locationName;
	}
	
	public String getLocationName() {
		return this.m_LocationName;
	}
	
	@Override
	public String toString() {
		return getLocationName();
	}
	
}
